package Tools 
{
	/**
   * ...
   * @author ...
   */
  public class StringUtils 
  {
    public static function simplifyString(str:String):String
    {
      var res: String = str.toLowerCase();
      res = res.replace(new RegExp("ё", "g"), "е");
      res = res.replace(new RegExp("'", "g"), "");
      res = res.replace(new RegExp("\\.", "g"), "");
      res = res.replace(new RegExp(",", "g"), "");
      return res;
    }
  }

}